﻿@model List<WI.CandidateManager.Common.Data.Entities.ResultBase>

@{
    ViewBag.Title = "In Progress Tasks";
}

<h2>In Progress Tasks</h2>

<ul class="master-tab-wrap">
    <li>@Html.ActionLink("Pending", "PendingTaskList", "Home")</li>
    <li class="master-tab-pushed">@Html.ActionLink("InProgress", "InProgressTaskList", "Home")</li>
    <li>@Html.ActionLink("Checked", "CheckedTaskList", "Home")</li>
</ul>

<table class="bordered">
    <thead>
        <tr>
            <th>@Resources.Common.CommonButtonDetails</th>
            <th>Continue</th>
            <th>Task Name</th>
            <th>Progress</th>
        </tr>
    </thead>
    @foreach (var result in Model)
    {
        <tr>
            <td class="Center column-detail">@Html.ActionLink(@Resources.Common.CommonButtonDetails, "Detail", new { @TaskId = result.TaskBase.Id }, new { @class = "common-btn BlueColor" })</td>
            <td class="Center column-detail">@Html.ActionLink("Continue", "Continue", new { @TaskId = result.TaskBase.Id }, new { @class = "common-btn BlueColor" })</td>
            <td>@result.TaskBase.Name</td>
            <td>1/3</td>
        </tr>        
    }
</table>